package com.xique.door.constant;

/**
 * @author shd
 * @create 2021/10/11 9:47
 */
public class ElevatorConstant {

    public static final class InterfaceName {

        /** 获取MD5 */
        public static final String GET_MD5_TOKEN = "getMd5Token";

        /** 获取access_token */
        public static final String GET_ACCESS_TOKEN = "getAccessToken";

        /** 获取session _token */
        public static final String GET_SESSION_TOKEN = "getSessionToken";

        /** 获取企业电梯信息 */
        public static final String GET_ELV_COMPANY = "getElvByCompany";

        /** 电梯基础信息查询 */
        public static final String GET_ELV_INFO = "getElvInfo";

        /** 电梯运行统计查询 */
        public static final String GET_ELV_REPORT = "getElvReport";

        /** 15日内运行集合 */
        public static final String GET_RUN_TIME = "getRunTime";

        /** 15日内故障集合 */
        public static final String GET_FAULT = "getFault";

        /** 15日内事件集合 */
        public static final String GET_EVENT = "getEvent";

        /** 历史运行集合 */
        public static final String GET_HIS_RUN_TIME = "getHisRuntime";

        /** 历史故障集合 */
        public static final String GET_HIS_FAULT = "getHisFault";

        /** 历史事件集合 */
        public static final String GET_HIS_EVENT = "getHisEvent";

        /** 故障情况查询 */
        public static final String GET_FAULT_LIST = "getFaultList";

        /** 获取电梯参数 */
        public static final String GET_ELV_PARAM = "getElevatorParameter";

        /** 获取电梯实时运行数据 */
        public static final String GET_RUN_INFO = "getDeviceRunInfo";

        /** 设置实时故障推送 */
        public static final String SET_WARNING_POST = "setWarningPost";
    }

    public static final String IotSessionTokenRedisKey = "iot_session_token_key";

    public static final class ResponseCode {
        public static final int SUCCESS = 200;
    }
}
